package com.eshop.modules.activity.service.dto;

import java.util.Date;
import java.math.BigDecimal;
import java.io.Serializable;

public class StoreCouponUserDto implements Serializable
{
    private Long id;
    private Integer cid;
    private Long uid;
    private String nickname;
    private String couponTitle;
    private BigDecimal couponPrice;
    private BigDecimal useMinPrice;
    private Date addTime;
    private Date endTime;
    private Date useTime;
    private String type;
    private Integer status;
    private Integer isFail;
    
    public Long getId() {
        return this.id;
    }
    
    public Integer getCid() {
        return this.cid;
    }
    
    public Long getUid() {
        return this.uid;
    }
    
    public String getNickname() {
        return this.nickname;
    }
    
    public String getCouponTitle() {
        return this.couponTitle;
    }
    
    public BigDecimal getCouponPrice() {
        return this.couponPrice;
    }
    
    public BigDecimal getUseMinPrice() {
        return this.useMinPrice;
    }
    
    public Date getAddTime() {
        return this.addTime;
    }
    
    public Date getEndTime() {
        return this.endTime;
    }
    
    public Date getUseTime() {
        return this.useTime;
    }
    
    public String getType() {
        return this.type;
    }
    
    public Integer getStatus() {
        return this.status;
    }
    
    public Integer getIsFail() {
        return this.isFail;
    }
    
    public void setId(final Long id) {
        this.id = id;
    }
    
    public void setCid(final Integer cid) {
        this.cid = cid;
    }
    
    public void setUid(final Long uid) {
        this.uid = uid;
    }
    
    public void setNickname(final String nickname) {
        this.nickname = nickname;
    }
    
    public void setCouponTitle(final String couponTitle) {
        this.couponTitle = couponTitle;
    }
    
    public void setCouponPrice(final BigDecimal couponPrice) {
        this.couponPrice = couponPrice;
    }
    
    public void setUseMinPrice(final BigDecimal useMinPrice) {
        this.useMinPrice = useMinPrice;
    }
    
    public void setAddTime(final Date addTime) {
        this.addTime = addTime;
    }
    
    public void setEndTime(final Date endTime) {
        this.endTime = endTime;
    }
    
    public void setUseTime(final Date useTime) {
        this.useTime = useTime;
    }
    
    public void setType(final String type) {
        this.type = type;
    }
    
    public void setStatus(final Integer status) {
        this.status = status;
    }
    
    public void setIsFail(final Integer isFail) {
        this.isFail = isFail;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof StoreCouponUserDto)) {
            return false;
        }
        final StoreCouponUserDto other = (StoreCouponUserDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$cid = this.getCid();
        final Object other$cid = other.getCid();
        Label_0102: {
            if (this$cid == null) {
                if (other$cid == null) {
                    break Label_0102;
                }
            }
            else if (this$cid.equals(other$cid)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$uid = this.getUid();
        final Object other$uid = other.getUid();
        Label_0139: {
            if (this$uid == null) {
                if (other$uid == null) {
                    break Label_0139;
                }
            }
            else if (this$uid.equals(other$uid)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$status = this.getStatus();
        final Object other$status = other.getStatus();
        Label_0176: {
            if (this$status == null) {
                if (other$status == null) {
                    break Label_0176;
                }
            }
            else if (this$status.equals(other$status)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$isFail = this.getIsFail();
        final Object other$isFail = other.getIsFail();
        Label_0213: {
            if (this$isFail == null) {
                if (other$isFail == null) {
                    break Label_0213;
                }
            }
            else if (this$isFail.equals(other$isFail)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$nickname = this.getNickname();
        final Object other$nickname = other.getNickname();
        Label_0250: {
            if (this$nickname == null) {
                if (other$nickname == null) {
                    break Label_0250;
                }
            }
            else if (this$nickname.equals(other$nickname)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$couponTitle = this.getCouponTitle();
        final Object other$couponTitle = other.getCouponTitle();
        Label_0287: {
            if (this$couponTitle == null) {
                if (other$couponTitle == null) {
                    break Label_0287;
                }
            }
            else if (this$couponTitle.equals(other$couponTitle)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$couponPrice = this.getCouponPrice();
        final Object other$couponPrice = other.getCouponPrice();
        Label_0324: {
            if (this$couponPrice == null) {
                if (other$couponPrice == null) {
                    break Label_0324;
                }
            }
            else if (this$couponPrice.equals(other$couponPrice)) {
                break Label_0324;
            }
            return false;
        }
        final Object this$useMinPrice = this.getUseMinPrice();
        final Object other$useMinPrice = other.getUseMinPrice();
        Label_0361: {
            if (this$useMinPrice == null) {
                if (other$useMinPrice == null) {
                    break Label_0361;
                }
            }
            else if (this$useMinPrice.equals(other$useMinPrice)) {
                break Label_0361;
            }
            return false;
        }
        final Object this$addTime = this.getAddTime();
        final Object other$addTime = other.getAddTime();
        Label_0398: {
            if (this$addTime == null) {
                if (other$addTime == null) {
                    break Label_0398;
                }
            }
            else if (this$addTime.equals(other$addTime)) {
                break Label_0398;
            }
            return false;
        }
        final Object this$endTime = this.getEndTime();
        final Object other$endTime = other.getEndTime();
        Label_0435: {
            if (this$endTime == null) {
                if (other$endTime == null) {
                    break Label_0435;
                }
            }
            else if (this$endTime.equals(other$endTime)) {
                break Label_0435;
            }
            return false;
        }
        final Object this$useTime = this.getUseTime();
        final Object other$useTime = other.getUseTime();
        Label_0472: {
            if (this$useTime == null) {
                if (other$useTime == null) {
                    break Label_0472;
                }
            }
            else if (this$useTime.equals(other$useTime)) {
                break Label_0472;
            }
            return false;
        }
        final Object this$type = this.getType();
        final Object other$type = other.getType();
        if (this$type == null) {
            if (other$type == null) {
                return true;
            }
        }
        else if (this$type.equals(other$type)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof StoreCouponUserDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $cid = this.getCid();
        result = result * 59 + (($cid == null) ? 43 : $cid.hashCode());
        final Object $uid = this.getUid();
        result = result * 59 + (($uid == null) ? 43 : $uid.hashCode());
        final Object $status = this.getStatus();
        result = result * 59 + (($status == null) ? 43 : $status.hashCode());
        final Object $isFail = this.getIsFail();
        result = result * 59 + (($isFail == null) ? 43 : $isFail.hashCode());
        final Object $nickname = this.getNickname();
        result = result * 59 + (($nickname == null) ? 43 : $nickname.hashCode());
        final Object $couponTitle = this.getCouponTitle();
        result = result * 59 + (($couponTitle == null) ? 43 : $couponTitle.hashCode());
        final Object $couponPrice = this.getCouponPrice();
        result = result * 59 + (($couponPrice == null) ? 43 : $couponPrice.hashCode());
        final Object $useMinPrice = this.getUseMinPrice();
        result = result * 59 + (($useMinPrice == null) ? 43 : $useMinPrice.hashCode());
        final Object $addTime = this.getAddTime();
        result = result * 59 + (($addTime == null) ? 43 : $addTime.hashCode());
        final Object $endTime = this.getEndTime();
        result = result * 59 + (($endTime == null) ? 43 : $endTime.hashCode());
        final Object $useTime = this.getUseTime();
        result = result * 59 + (($useTime == null) ? 43 : $useTime.hashCode());
        final Object $type = this.getType();
        result = result * 59 + (($type == null) ? 43 : $type.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "StoreCouponUserDto(id=" + this.getId() + ", cid=" + this.getCid() + ", uid=" + this.getUid() + ", nickname=" + this.getNickname() + ", couponTitle=" + this.getCouponTitle() + ", couponPrice=" + this.getCouponPrice() + ", useMinPrice=" + this.getUseMinPrice() + ", addTime=" + this.getAddTime() + ", endTime=" + this.getEndTime() + ", useTime=" + this.getUseTime() + ", type=" + this.getType() + ", status=" + this.getStatus() + ", isFail=" + this.getIsFail() + ")";
    }
}
